function updateRecruitment() {
    // 首先获取当前简历id
    let id = $("#recruitment").val();
    window.location = '/hire/employer/edit?id=' + id;
}

function refreshRecruitment() {
    let id = $("#recruitment").val();
    $.post('/hire/employer/recruitment/refresh', {id: id}, function (res) {
        console.log(res);
        if (res.code == '200') {
            layer.msg("刷新成功", {icon: 1})
        } else {
            layer.msg("刷新失败", {icon: 2})
        }
    });

}